#include <REGX52.H>
#include "oled.h"
#include "oleddelay.h"
#include "picture.h"





void main()
{
	oled_init();
	oled_clear();
	while(1)
	{
		
		OLED_DrawBMP(0,0,64,64,BMP1);
		OLED_ShowString(65,0,"Simpron1",8 );

		oleddelay(1000);
		oled_clear();
		OLED_ShowNum(0,2,65535,5,16);
		OLED_ShowChinese(0,4,0,16);
		OLED_ShowChinese(16,4,1,16);
		OLED_ShowChinese(32,4,2,16);
		OLED_ShowChinese(48,4,3,16);
		OLED_ShowChinese(64,4,4,16);
		OLED_ShowChinese(80,4,5,16);
		OLED_ShowChinese(96,4,6,16);  
		OLED_ShowChinese(112,4,7,16);
//		OLED_ShowChinese(0,4,0,12);
//		OLED_ShowChinese(12,4,1,12);
//		OLED_ShowChinese(24,4,2,12);
//		OLED_ShowChinese(36,4,3,12);
//		OLED_ShowChinese(48,4,4,12);
//		OLED_ShowChinese(60,4,5,12);
//		OLED_ShowChinese(72,4,6,12);  
//		OLED_ShowChinese(84,4,7,12);	
		oleddelay(1000);
		oled_clear();	
	}
}